projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39d4207
)
Fix conversion from GdkColor to GdkRGBA
author
Ignacio Casal Quinteiro
<icq@gnome.org>
Sun, 6 Mar 2011 10:16:28 +0000
(11:16 +0100)
committer
Ignacio Casal Quinteiro
<icq@gnome.org>
Sun, 6 Mar 2011 10:17:06 +0000
(11:17 +0100)
gtk/gtkstylecontext.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstylecontext.c
b/gtk/gtkstylecontext.c
index b8369338ac93021e283b1ab14749007ad451df04..1e5e85ef53b60313de8dfdffd2d159285cde61ac 100644
(file)
--- a/
gtk/gtkstylecontext.c
+++ b/
gtk/gtkstylecontext.c
@@
-3620,9
+3620,9
@@
get_cursor_color (GtkStyleContext *context,
if (style_color)
{
- color->red = style_color->red / 65535;
- color->green = style_color->green / 65535;
- color->blue = style_color->blue / 65535;
+ color->red = style_color->red / 65535
.0
;
+ color->green = style_color->green / 65535
.0
;
+ color->blue = style_color->blue / 65535
.0
;
color->alpha = 1;
gdk_color_free (style_color);